﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020001F7 RID: 503
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class ChessRogueAeonInfo : IMessage<ChessRogueAeonInfo>, IMessage, IEquatable<ChessRogueAeonInfo>, IDeepCloneable<ChessRogueAeonInfo>, IBufferMessage
	{
		// Token: 0x1700069B RID: 1691
		// (get) Token: 0x060016AD RID: 5805 RVA: 0x000407CF File Offset: 0x0003E9CF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<ChessRogueAeonInfo> Parser
		{
			get
			{
				return ChessRogueAeonInfo._parser;
			}
		}

		// Token: 0x1700069C RID: 1692
		// (get) Token: 0x060016AE RID: 5806 RVA: 0x000407D6 File Offset: 0x0003E9D6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return ChessRogueAeonInfoReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x1700069D RID: 1693
		// (get) Token: 0x060016AF RID: 5807 RVA: 0x000407E8 File Offset: 0x0003E9E8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return ChessRogueAeonInfo.Descriptor;
			}
		}

		// Token: 0x060016B0 RID: 5808 RVA: 0x000407EF File Offset: 0x0003E9EF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ChessRogueAeonInfo()
		{
		}

		// Token: 0x060016B1 RID: 5809 RVA: 0x00040804 File Offset: 0x0003EA04
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ChessRogueAeonInfo(ChessRogueAeonInfo other) : this()
		{
			this.chessAeonInfo_ = ((other.chessAeonInfo_ != null) ? other.chessAeonInfo_.Clone() : null);
			this.jAEPIJOFHEC_ = other.jAEPIJOFHEC_;
			this.jHBNOOKJIOA_ = ((other.jHBNOOKJIOA_ != null) ? other.jHBNOOKJIOA_.Clone() : null);
			this.aeonIdList_ = other.aeonIdList_.Clone();
			this.gameAeonId_ = other.gameAeonId_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x060016B2 RID: 5810 RVA: 0x00040889 File Offset: 0x0003EA89
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ChessRogueAeonInfo Clone()
		{
			return new ChessRogueAeonInfo(this);
		}

		// Token: 0x1700069E RID: 1694
		// (get) Token: 0x060016B3 RID: 5811 RVA: 0x00040891 File Offset: 0x0003EA91
		// (set) Token: 0x060016B4 RID: 5812 RVA: 0x00040899 File Offset: 0x0003EA99
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ChessRogueQueryAeonInfo ChessAeonInfo
		{
			get
			{
				return this.chessAeonInfo_;
			}
			set
			{
				this.chessAeonInfo_ = value;
			}
		}

		// Token: 0x1700069F RID: 1695
		// (get) Token: 0x060016B5 RID: 5813 RVA: 0x000408A2 File Offset: 0x0003EAA2
		// (set) Token: 0x060016B6 RID: 5814 RVA: 0x000408AA File Offset: 0x0003EAAA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int JAEPIJOFHEC
		{
			get
			{
				return this.jAEPIJOFHEC_;
			}
			set
			{
				this.jAEPIJOFHEC_ = value;
			}
		}

		// Token: 0x170006A0 RID: 1696
		// (get) Token: 0x060016B7 RID: 5815 RVA: 0x000408B3 File Offset: 0x0003EAB3
		// (set) Token: 0x060016B8 RID: 5816 RVA: 0x000408BB File Offset: 0x0003EABB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public FOCKFLEPFCF JHBNOOKJIOA
		{
			get
			{
				return this.jHBNOOKJIOA_;
			}
			set
			{
				this.jHBNOOKJIOA_ = value;
			}
		}

		// Token: 0x170006A1 RID: 1697
		// (get) Token: 0x060016B9 RID: 5817 RVA: 0x000408C4 File Offset: 0x0003EAC4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<uint> AeonIdList
		{
			get
			{
				return this.aeonIdList_;
			}
		}

		// Token: 0x170006A2 RID: 1698
		// (get) Token: 0x060016BA RID: 5818 RVA: 0x000408CC File Offset: 0x0003EACC
		// (set) Token: 0x060016BB RID: 5819 RVA: 0x000408D4 File Offset: 0x0003EAD4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint GameAeonId
		{
			get
			{
				return this.gameAeonId_;
			}
			set
			{
				this.gameAeonId_ = value;
			}
		}

		// Token: 0x060016BC RID: 5820 RVA: 0x000408DD File Offset: 0x0003EADD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as ChessRogueAeonInfo);
		}

		// Token: 0x060016BD RID: 5821 RVA: 0x000408EC File Offset: 0x0003EAEC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(ChessRogueAeonInfo other)
		{
			return other != null && (other == this || (object.Equals(this.ChessAeonInfo, other.ChessAeonInfo) && this.JAEPIJOFHEC == other.JAEPIJOFHEC && object.Equals(this.JHBNOOKJIOA, other.JHBNOOKJIOA) && this.aeonIdList_.Equals(other.aeonIdList_) && this.GameAeonId == other.GameAeonId && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x060016BE RID: 5822 RVA: 0x00040974 File Offset: 0x0003EB74
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.chessAeonInfo_ != null)
			{
				num ^= this.ChessAeonInfo.GetHashCode();
			}
			if (this.JAEPIJOFHEC != 0)
			{
				num ^= this.JAEPIJOFHEC.GetHashCode();
			}
			if (this.jHBNOOKJIOA_ != null)
			{
				num ^= this.JHBNOOKJIOA.GetHashCode();
			}
			num ^= this.aeonIdList_.GetHashCode();
			if (this.GameAeonId != 0U)
			{
				num ^= this.GameAeonId.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x060016BF RID: 5823 RVA: 0x00040A06 File Offset: 0x0003EC06
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x060016C0 RID: 5824 RVA: 0x00040A0E File Offset: 0x0003EC0E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x060016C1 RID: 5825 RVA: 0x00040A18 File Offset: 0x0003EC18
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.GameAeonId != 0U)
			{
				output.WriteRawTag(16);
				output.WriteUInt32(this.GameAeonId);
			}
			if (this.jHBNOOKJIOA_ != null)
			{
				output.WriteRawTag(50);
				output.WriteMessage(this.JHBNOOKJIOA);
			}
			if (this.chessAeonInfo_ != null)
			{
				output.WriteRawTag(74);
				output.WriteMessage(this.ChessAeonInfo);
			}
			if (this.JAEPIJOFHEC != 0)
			{
				output.WriteRawTag(80);
				output.WriteInt32(this.JAEPIJOFHEC);
			}
			this.aeonIdList_.WriteTo(ref output, ChessRogueAeonInfo._repeated_aeonIdList_codec);
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x060016C2 RID: 5826 RVA: 0x00040ABC File Offset: 0x0003ECBC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.chessAeonInfo_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.ChessAeonInfo);
			}
			if (this.JAEPIJOFHEC != 0)
			{
				num += 1 + CodedOutputStream.ComputeInt32Size(this.JAEPIJOFHEC);
			}
			if (this.jHBNOOKJIOA_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.JHBNOOKJIOA);
			}
			num += this.aeonIdList_.CalculateSize(ChessRogueAeonInfo._repeated_aeonIdList_codec);
			if (this.GameAeonId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.GameAeonId);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x060016C3 RID: 5827 RVA: 0x00040B58 File Offset: 0x0003ED58
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(ChessRogueAeonInfo other)
		{
			if (other == null)
			{
				return;
			}
			if (other.chessAeonInfo_ != null)
			{
				if (this.chessAeonInfo_ == null)
				{
					this.ChessAeonInfo = new ChessRogueQueryAeonInfo();
				}
				this.ChessAeonInfo.MergeFrom(other.ChessAeonInfo);
			}
			if (other.JAEPIJOFHEC != 0)
			{
				this.JAEPIJOFHEC = other.JAEPIJOFHEC;
			}
			if (other.jHBNOOKJIOA_ != null)
			{
				if (this.jHBNOOKJIOA_ == null)
				{
					this.JHBNOOKJIOA = new FOCKFLEPFCF();
				}
				this.JHBNOOKJIOA.MergeFrom(other.JHBNOOKJIOA);
			}
			this.aeonIdList_.Add(other.aeonIdList_);
			if (other.GameAeonId != 0U)
			{
				this.GameAeonId = other.GameAeonId;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x060016C4 RID: 5828 RVA: 0x00040C11 File Offset: 0x0003EE11
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x060016C5 RID: 5829 RVA: 0x00040C1C File Offset: 0x0003EE1C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num <= 74U)
				{
					if (num == 16U)
					{
						this.GameAeonId = input.ReadUInt32();
						continue;
					}
					if (num == 50U)
					{
						if (this.jHBNOOKJIOA_ == null)
						{
							this.JHBNOOKJIOA = new FOCKFLEPFCF();
						}
						input.ReadMessage(this.JHBNOOKJIOA);
						continue;
					}
					if (num == 74U)
					{
						if (this.chessAeonInfo_ == null)
						{
							this.ChessAeonInfo = new ChessRogueQueryAeonInfo();
						}
						input.ReadMessage(this.ChessAeonInfo);
						continue;
					}
				}
				else
				{
					if (num == 80U)
					{
						this.JAEPIJOFHEC = input.ReadInt32();
						continue;
					}
					if (num == 96U || num == 98U)
					{
						this.aeonIdList_.AddEntriesFrom(ref input, ChessRogueAeonInfo._repeated_aeonIdList_codec);
						continue;
					}
				}
				this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
			}
		}

		// Token: 0x04000959 RID: 2393
		private static readonly MessageParser<ChessRogueAeonInfo> _parser = new MessageParser<ChessRogueAeonInfo>(() => new ChessRogueAeonInfo());

		// Token: 0x0400095A RID: 2394
		private UnknownFieldSet _unknownFields;

		// Token: 0x0400095B RID: 2395
		public const int ChessAeonInfoFieldNumber = 9;

		// Token: 0x0400095C RID: 2396
		private ChessRogueQueryAeonInfo chessAeonInfo_;

		// Token: 0x0400095D RID: 2397
		public const int JAEPIJOFHECFieldNumber = 10;

		// Token: 0x0400095E RID: 2398
		private int jAEPIJOFHEC_;

		// Token: 0x0400095F RID: 2399
		public const int JHBNOOKJIOAFieldNumber = 6;

		// Token: 0x04000960 RID: 2400
		private FOCKFLEPFCF jHBNOOKJIOA_;

		// Token: 0x04000961 RID: 2401
		public const int AeonIdListFieldNumber = 12;

		// Token: 0x04000962 RID: 2402
		private static readonly FieldCodec<uint> _repeated_aeonIdList_codec = FieldCodec.ForUInt32(98U);

		// Token: 0x04000963 RID: 2403
		private readonly RepeatedField<uint> aeonIdList_ = new RepeatedField<uint>();

		// Token: 0x04000964 RID: 2404
		public const int GameAeonIdFieldNumber = 2;

		// Token: 0x04000965 RID: 2405
		private uint gameAeonId_;
	}
}
